<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>draw.io demo</title>
    <link rel="stylesheet" href="./assets/drawio_lib/grapheditor.css">
    <!-- <link rel="stylesheet" href="https://jgraph.github.io/drawio/src/main/webapp/mxgraph/css/common.css"> -->
</head>

<!-- geEditor 是draw.io需要的class -->
<body class="geEditor">
  <script type="text/javascript">
    window.EXPORT_URL = window.EXPORT_URL || './assets/drawio_lib';
    window.SAVE_URL = window.SAVE_URL || './assets/drawio_lib';
    window.OPEN_URL = window.OPEN_URL || './assets/drawio_lib';
    window.RESOURCES_PATH = window.RESOURCES_PATH || './assets/drawio_lib/resources';
    window.STENCIL_PATH = window.STENCIL_PATH || './assets/drawio_lib/image/stencils';
    window.IMAGE_PATH = window.IMAGE_PATH || './assets/drawio_lib/image';
    window.STYLE_PATH = window.STYLE_PATH || './assets/drawio_lib/src/css';
    window.CSS_PATH = window.CSS_PATH || './assets/drawio_lib/src/css';
    window.OPEN_FORM = window.OPEN_FORM ||  './assets/drawio_lib';
    window.mxBasePath = window.mxBasePath || './assets/drawio_lib/src';
    window.mxLanguage = window.mxLanguage || 'zh';
    window.mxLanguages = window.mxLanguages || ['zh'];
  </script>
  <!-- 加载draw.io需要的静态资源 begin -->
  <script type="text/javascript" src="./assets/drawio_lib/Init.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/lib/pako.min.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/lib/base64.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/jscolor/jscolor.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/lib/purify.min.js"></script>
  <script type="text/javascript" src="./assets/mxgraph/mxClient.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Editor.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/EditorUi.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Sidebar.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Graph.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Format.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Shapes.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Actions.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Menus.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Toolbar.js"></script>
  <script type="text/javascript" src="./assets/drawio_lib/Dialogs.js"></script>
  <!-- 加载draw.io需要的静态资源 end -->
  
  <script src="./assets/scripts/drawio-demo.js"></script>
</body>

</html>
